using System;
using System.Collections;
using System.Text;

namespace Friendster.Service
{
    public sealed class Friend : FriendsterEntity
    {
        // Fields
        ArrayList friends = new ArrayList();

        // Methods
        internal Friend(Hashtable friendState) : base((Hashtable)friendState["friends"])
        {
            this.friends = (ArrayList)friendState["friends"];
        }

        // Properties
        public string[] UID
        {
            get
            {
                return (string[])this.friends.ToArray(typeof(string));
            }
        }
    }
}
